﻿namespace AnyOffice.Model
{
    using System;

    public class MeetingRoomData
    {
        protected object _capacity;
        protected object _description;
        protected object _device;
        protected string _name = string.Empty;
        protected object _place;
        protected int _roomId = -1;

        public string Capacity
        {
            get
            {
                return (string) this._capacity;
            }
            set
            {
                this._capacity = value;
            }
        }

        public bool CapacityIsNull
        {
            get
            {
                return (this._capacity == null);
            }
            set
            {
                if (value)
                {
                    this._capacity = null;
                }
            }
        }

        public string Description
        {
            get
            {
                return (string) this._description;
            }
            set
            {
                this._description = value;
            }
        }

        public bool DescriptionIsNull
        {
            get
            {
                return (this._description == null);
            }
            set
            {
                if (value)
                {
                    this._description = null;
                }
            }
        }

        public string Device
        {
            get
            {
                return (string) this._device;
            }
            set
            {
                this._device = value;
            }
        }

        public bool DeviceIsNull
        {
            get
            {
                return (this._device == null);
            }
            set
            {
                if (value)
                {
                    this._device = null;
                }
            }
        }

        public string Name
        {
            get
            {
                return this._name;
            }
            set
            {
                this._name = value;
            }
        }

        public string Place
        {
            get
            {
                return (string) this._place;
            }
            set
            {
                this._place = value;
            }
        }

        public bool PlaceIsNull
        {
            get
            {
                return (this._place == null);
            }
            set
            {
                if (value)
                {
                    this._place = null;
                }
            }
        }

        public int RoomId
        {
            get
            {
                return this._roomId;
            }
            set
            {
                this._roomId = value;
            }
        }
    }
}

